
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8"/>
    <title>IconFont</title>
    <link rel="stylesheet" href="demo.css">
    <link rel="stylesheet" href="iconfont.css">
</head>
<body>
    <div class="main markdown">
        <h1>IconFont 图标</h1>
        <ul class="icon_lists clear">
            
                <li>
                <i class="icon iconfont icon-mima"></i>
                    <div class="name">mima</div>
                    <div class="fontclass">.icon-mima</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-shouji"></i>
                    <div class="name">shouji</div>
                    <div class="fontclass">.icon-shouji</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-yanzhengma"></i>
                    <div class="name">yanzhengma</div>
                    <div class="fontclass">.icon-yanzhengma</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-shouye-hui"></i>
                    <div class="name">shouye-hui</div>
                    <div class="fontclass">.icon-shouye-hui</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-shouye-lv"></i>
                    <div class="name">shouye-lv</div>
                    <div class="fontclass">.icon-shouye-lv</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-zixun-hui"></i>
                    <div class="name">zixun-hui</div>
                    <div class="fontclass">.icon-zixun-hui</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-zixun-lv"></i>
                    <div class="name">zixun-lv</div>
                    <div class="fontclass">.icon-zixun-lv</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-kechengbiao-hui"></i>
                    <div class="name">kechengbiao-hui</div>
                    <div class="fontclass">.icon-kechengbiao-hui</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-kechengbiao-lv"></i>
                    <div class="name">kechengbiao-lv</div>
                    <div class="fontclass">.icon-kechengbiao-lv</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-wode-hui"></i>
                    <div class="name">wode-hui</div>
                    <div class="fontclass">.icon-wode-hui</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-wode-lv"></i>
                    <div class="name">wode-lv</div>
                    <div class="fontclass">.icon-wode-lv</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-bofang"></i>
                    <div class="name">bofang</div>
                    <div class="fontclass">.icon-bofang</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-fenxiang"></i>
                    <div class="name">fenxiang</div>
                    <div class="fontclass">.icon-fenxiang</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-shoucang-hui"></i>
                    <div class="name">shoucang-hui</div>
                    <div class="fontclass">.icon-shoucang-hui</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-shoucang-lv"></i>
                    <div class="name">shoucang-lv</div>
                    <div class="fontclass">.icon-shoucang-lv</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-jiahao"></i>
                    <div class="name">jiahao</div>
                    <div class="fontclass">.icon-jiahao</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-zhankai"></i>
                    <div class="name">zhankai</div>
                    <div class="fontclass">.icon-zhankai</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-hebing"></i>
                    <div class="name">hebing</div>
                    <div class="fontclass">.icon-hebing</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-fanhui"></i>
                    <div class="name">fanhui</div>
                    <div class="fontclass">.icon-fanhui</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-yanjing"></i>
                    <div class="name">yanjing</div>
                    <div class="fontclass">.icon-yanjing</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-chakanxiangqing"></i>
                    <div class="name">chakanxiangqing</div>
                    <div class="fontclass">.icon-chakanxiangqing</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-fanhui1"></i>
                    <div class="name">fanhui</div>
                    <div class="fontclass">.icon-fanhui1</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-pingjia"></i>
                    <div class="name">pingjia</div>
                    <div class="fontclass">.icon-pingjia</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-quxiao"></i>
                    <div class="name">quxiao</div>
                    <div class="fontclass">.icon-quxiao</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-guanbi"></i>
                    <div class="name">guanbi</div>
                    <div class="fontclass">.icon-guanbi</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-kehouzuoye"></i>
                    <div class="name">kehouzuoye</div>
                    <div class="fontclass">.icon-kehouzuoye</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-fenxianggeipengyou"></i>
                    <div class="name">fenxianggeipengyou</div>
                    <div class="fontclass">.icon-fenxianggeipengyou</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-pengyouquan"></i>
                    <div class="name">pengyouquan</div>
                    <div class="fontclass">.icon-pengyouquan</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-shoucang"></i>
                    <div class="name">shoucang</div>
                    <div class="fontclass">.icon-shoucang</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-liulanqi"></i>
                    <div class="name">liulanqi</div>
                    <div class="fontclass">.icon-liulanqi</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-QQ"></i>
                    <div class="name">QQ</div>
                    <div class="fontclass">.icon-QQ</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-tousu"></i>
                    <div class="name">tousu</div>
                    <div class="fontclass">.icon-tousu</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-lianjie"></i>
                    <div class="name">lianjie</div>
                    <div class="fontclass">.icon-lianjie</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-shuaxin"></i>
                    <div class="name">shuaxin</div>
                    <div class="fontclass">.icon-shuaxin</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-sousuo"></i>
                    <div class="name">sousuo</div>
                    <div class="fontclass">.icon-sousuo</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-fuchuang"></i>
                    <div class="name">fuchuang</div>
                    <div class="fontclass">.icon-fuchuang</div>
                </li>
            
        </ul>

        <h2 id="font-class-">font-class引用</h2>
        <hr>

        <p>font-class是unicode使用方式的一种变种，主要是解决unicode书写不直观，语意不明确的问题。</p>
        <p>与unicode使用方式相比，具有如下特点：</p>
        <ul>
        <li>兼容性良好，支持ie8+，及所有现代浏览器。</li>
        <li>相比于unicode语意明确，书写更直观。可以很容易分辨这个icon是什么。</li>
        <li>因为使用class来定义图标，所以当要替换图标时，只需要修改class里面的unicode引用。</li>
        <li>不过因为本质上还是使用的字体，所以多色图标还是不支持的。</li>
        </ul>
        <p>使用步骤如下：</p>
        <h3 id="-fontclass-">第一步：引入项目下面生成的fontclass代码：</h3>


        <pre><code class="lang-js hljs javascript"><span class="hljs-comment">&lt;link rel="stylesheet" type="text/css" href="./iconfont.css"&gt;</span></code></pre>
        <h3 id="-">第二步：挑选相应图标并获取类名，应用于页面：</h3>
        <pre><code class="lang-css hljs">&lt;<span class="hljs-selector-tag">i</span> <span class="hljs-selector-tag">class</span>="<span class="hljs-selector-tag">iconfont</span> <span class="hljs-selector-tag">icon-xxx</span>"&gt;&lt;/<span class="hljs-selector-tag">i</span>&gt;</code></pre>
        <blockquote>
        <p>"iconfont"是你项目下的font-family。可以通过编辑项目查看，默认是"iconfont"。</p>
        </blockquote>
    </div>
</body>
</html>
